#import <UIKit/UIKit.h>

//#define kBDKNotifyHUDDefaultWidth 230.0f
#define kBDKNotifyHUDDefaultWidth 150.0f
#define kBDKNotifyHUDDefaultHeight 100.0f

@interface BDKNotifyHUD : UIView

@property (nonatomic) CGFloat destinationOpacity;
@property (nonatomic) CGFloat currentOpacity;
@property (nonatomic) UIImage *image;
@property (nonatomic) CGFloat roundness;
@property (nonatomic) BOOL bordered;
@property (nonatomic) BOOL isAnimating;

@property (strong, nonatomic) UIColor *borderColor;
@property (strong, nonatomic) NSString *text;
@property (nonatomic) CGFloat defaultFrameWidth;

+ (id)notifyHUDWithImage:(UIImage *)image text:(NSString *)text;
- (id)initWithImage:(UIImage *)image text:(NSString *)text;
//20150907 改造此函数的母的是为了改造背景框的大小
- (id)initWithImageEX:(UIImage *)image text:(NSString *)text hudWidth:(CGFloat) hudwidth;

- (void)presentWithDuration:(CGFloat)duration speed:(CGFloat)speed inView:(UIView *)view completion:(void (^)(void))completion;
@end
